package com.sdy.service;

import com.sdy.po.Authority;
import com.sdy.po.Menu;

import java.util.List;

public interface MenuService {

    List<Menu> findAllMenu();

    List<Menu> findMenuByCustomer(String status);

    Boolean insertOneMenu(Menu menu);

    Boolean updateOneMenu(Menu menu);

    Boolean deleteOneMenuById(Integer id);

    List<Menu> findMenuByAuthority(Authority authority);
}
